]> dgit.raspbian.org Git - gnome-shell.git/commit
status/powerProfiles: Set profile name as subtitle
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 31 Jan 2023 17:38:39 +0000 (14:38 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 4 Feb 2023 17:50:36 +0000 (14:50 -0300)
commitec397cf604865733ee34b61c21caba04278da697
treed209ee61b5720bf063f6a54683f80428cb371806
parent88dcf695c01af8bbb0ac7d1a1b80afa1735f29a4
status/powerProfiles: Set profile name as subtitle

Just like with network names, set the name of the power profile as
the subtitle of the quick settings pill. This allows more of the
power profile name to be visible, and reduces chances of ellipsing
the name.

Rename the 'title' variable to 'name', to be more semantic and
better represent what it is now.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5770
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2619>
js/ui/status/powerProfiles.js